package com.zougen202301180355.restaurant.mapper;


import com.zougen202301180355.restaurant.pojo.Customer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CustomersMapper {
    void insert(Customer customer);
    void delete(@Param("id") Integer id);
    void update(Customer customer);
    Customer selectById(@Param("id") Integer id);
    List<Customer> selectAll();
    Customer selectWithOrders(@Param("id") Integer id);
}